import React from 'react';


function Recommended(props) {
    let { recommended } = props
    return (<div className="recommended">
        <h4>别墅推荐</h4>
        <div className="recommended1" >
            {recommended.map((item) => (
                <div key={item.id}>
                    <img src={item.icon} alt=""></img>
                    <span>{item.name}</span>
                </div>
            ))}
        </div>
    </div>);
}

export default Recommended;